package com.dstz.sys.excel.style;

import org.apache.poi.hssf.usermodel.HSSFCellStyle;

/**
 * 背景色填充样式
 *
 * @author zxh
 */
public enum FillPattern {
    NO_FILL(HSSFCellStyle.NO_FILL),

    SOLID_FOREGROUND(HSSFCellStyle.SOLID_FOREGROUND),

    FINE_DOTS(HSSFCellStyle.FINE_DOTS),

    ALT_BARS(HSSFCellStyle.ALT_BARS),

    SPARSE_DOTS(HSSFCellStyle.SPARSE_DOTS),

    THICK_HORZ_BANDS(HSSFCellStyle.THICK_HORZ_BANDS),

    THICK_VERT_BANDS(HSSFCellStyle.THICK_VERT_BANDS),

    THICK_BACKWARD_DIAG(HSSFCellStyle.THICK_BACKWARD_DIAG),

    THICK_FORWARD_DIAG(HSSFCellStyle.THICK_FORWARD_DIAG),

    BIG_SPOTS(HSSFCellStyle.BIG_SPOTS),

    BRICKS(HSSFCellStyle.BRICKS),

    THIN_HORZ_BANDS(HSSFCellStyle.THIN_HORZ_BANDS),

    THIN_VERT_BANDS(HSSFCellStyle.THIN_VERT_BANDS),

    THIN_BACKWARD_DIAG(HSSFCellStyle.THIN_BACKWARD_DIAG),

    THIN_FORWARD_DIAG(HSSFCellStyle.THIN_FORWARD_DIAG),

    SQUARES(HSSFCellStyle.SQUARES),

    DIAMONDS(HSSFCellStyle.DIAMONDS),

    LESS_DOTS(HSSFCellStyle.LESS_DOTS),

    LEAST_DOTS(HSSFCellStyle.LEAST_DOTS);

    private short fillPattern;

    private FillPattern(short fillPattern) {
        this.fillPattern = fillPattern;
    }

    public short getFillPattern() {
        return fillPattern;
    }

}
